<?php
header('Content-type:text/html;charset=utf8');
/**
 * xysc users Version1.0
 * ==================================
 * Copy 2016-2017
 * Web:www.xjh7.com
 * ==================================
 * Author:lj
 * Date:2016-2-193
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>轩辕商城-后台</title>
<link rel="stylesheet" type="text/css" href="<?php echo backweb_CSS_URL;?>index.css" />
<script type="text/javascript" src="<?php echo backweb_JS_URL;?>jquery.js"></script>
<script type="text/javascript" src="<?php echo backweb_JS_URL;?>main.js"></script>

<link href="<?php echo backweb_CSS_URL;?>H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="<?php echo backweb_CSS_URL;?>H-ui.admin.css" rel="stylesheet" type="text/css" />
<link href="<?php echo backweb_CSS_URL;?>iconfont.css" rel="stylesheet" type="text/css" />
<link href="<?php echo backweb_CSS_URL;?>skin.css" rel="stylesheet" type="text/css" id="skin" />
<link href="<?php echo backweb_CSS_URL;?>style.css" rel="stylesheet" type="text/css" />
</head>
<body style="background: #f0f9fd;" >
	<div class="lefttop">
		<span></span>轩辕商城
	</div>
	<dl class="leftmenu" >	
		<?php for($i=0;$i<count($info);++$i){ 
			if($i==0)
			{?>			
			<dd>
				<div class="title">
					<span><img src="<?php echo backweb_IMG_URL;?>list.gif" /></span><?php echo $info[$i]['parent_name'];?>
				</div>
				<ul class="menuson">
					<li ><cite></cite><a href="<?php echo $info[$i]['pages_address'];?>" target="rightFrame"><?php echo $info[$i]['pages_name'];?></a><i></i></li>		
			<?php  }else 
			{
				if( $info[$i]['parent_name']== $info[$i-1]['parent_name'])
				{ ?>
						<li ><cite></cite><a href="<?php echo $info[$i]['pages_address'];?>" target="rightFrame"><?php echo $info[$i]['pages_name'];?></a><i></i></li>		
		<?php	}
				else
				{ ?>
					</ul>
				</dd>
			 <dd>
				<div class="title">
					<span><img src="<?php echo backweb_IMG_URL;?>list.gif" /></span><?php echo $info[$i]['parent_name'];?>
				</div>
				<ul class="menuson">
					<li ><cite></cite><a href="<?php echo $info[$i]['pages_address'];?>" target="rightFrame"><?php echo $info[$i]['pages_name'];?></a><i></i></li>		
	
		<?php	}
			}
		}?>
			</ul>
		</dd>	
		<!--
		<dd>
			<div class="title">
				<span><img src="list.gif" /></span>系统管理
			</div>
			<ul class="menuson">
				<li><cite></cite><a href="./index.php?r=backweb/role/role"  target="rightFrame">角色管理</a><i></i></li>	
				<li><cite></cite><a href="./index.php?r=backweb/menu/menu"  target="rightFrame">菜单管理</a><i></i></li>	
				<li><cite></cite><a href="./index.php?r=backweb/menu/toAdd"  target="rightFrame">新增菜单</a><i></i></li>	
			</ul>
		</dd>
	--></dl>
	


</body>
</html>